<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{admin/common/common}">
<head>
    <title>签到流水信息列表</title>
</head>

<body layout:fragment="content">
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    首页
    <span class="c-gray en">&gt;</span>签到流水信息管理 <span class="c-gray en">&gt;</span>
    签到流水列表
    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
        <i class="Hui-iconfont">&#xe68f;</i>
    </a>
</nav>
<form id="myForm" th:action="@{/checkinmessage/list}" th:method="get">
    <div class="page-container">
        <div class="text-c">
            <input type="text" class="input-text" style="width:250px" placeholder="请输入用户id" name="userid" th:value="${userid}"/>
            <input type="text" class="input-text" style="width:250px" placeholder="请输入手机号" name="mobile" th:value="${mobile}"/>
            <input type="text" class="input-text" style="width:250px" placeholder="请输入流水号" name="flowid" th:value="${flowid}"/>
            日期范围:
            <input type="text" placeholder="开始时间" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="datemin" class="input-text Wdate" style="width:120px;" name="startdate" th:value="${#dates.format(startdate, 'yyyy-MM-dd hh:mm:ss')}" readonly="readonly"/>
            -
            <input type="text" placeholder="结束时间" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="datemax" class="input-text Wdate" style="width:120px;" name="enddate" th:value="${#dates.format(enddate, 'yyyy-MM-dd hh:mm:ss')}" readonly="readonly"/>
            <button type="submit" class="btn btn-success">
                <i class="Hui-iconfont">&#xe665;</i>
                搜索
            </button>
        </div>
        <div class="cl pd-5 bg-1 bk-gray mt-20">
            <span class="l">
                <!--<a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>-->
                <a href="javascript:;" th:onclick="'javascript:checkinmessage_export(\'导出数据\',\'/checkinmessage/export\',\'800\',\'500\');'" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe640;</i>导出</a>
            </span>
            <span class="r">共有数据：<strong th:text="${pageInfo?.total}" id="total">54</strong> 条</span>
        </div>
        <table class="table table-border table-bordered table-bg table-hover">
            <thead>
            <tr>
                <th scope="col" colspan="8">签到流水信息列表</th>
            </tr>
            <tr class="text-c">
                <!--<th width="25"><input type="rewardbox" name="" value=""/></th>-->
                <th>序号</th>
                <th>用户id</th>
                <th>手机号</th>
                <th>签到时间</th>
                <th>奖励描述</th>
                <th>流水号</th>
                <th>累计签到次数</th>
                <th>连续签到次数</th>
            </tr>
            </thead>
            <tbody>
            <tr class="text-c" th:each="model:${pageInfo?.list}" th:object="${model}">
                <!--<td><input type="rewardbox" value="2" name=""/></td>-->
                <td th:text="*{statisticFlowId}">1</td>
                <td th:text="*{userId}">1</td>
                <td th:text="*{mobile}">d</td>
                <td th:text="${#dates.format(model.checkInTime, 'yyyy-MM-dd hh:mm:ss')}">2017-05-23 12:22:23</td>
                <td th:text="*{checkInRewardDesc}">d</td>
                <td th:text="*{checkInflowId}">d</td>
                <td th:text="*{accuCheckIn}">&nbsp次</td>
                <td th:text="*{contCheckIn}">&nbsp次</td>
            </tr>
            </tbody>
        </table>
        <div th:replace="admin/common/page :: page"></div>
    </div>
</form>

<script type="text/javascript" th:src="@{/js/page.js}"></script>
<script type="text/javascript" th:src="@{/js/admin/check/checkmessage-list.js}"></script>
<script th:inline="javascript">

</script>
</body>
</html>